package com.jcf.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jcf.springboot.entity.sys.Menu;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jjj
 * @since 2021-03-19
 */
public interface MenuService extends IService<Menu> {

  List<String> getMenuByRole(String rid);

  Boolean updatePermissionByRoles(String rid,List<String> menuIds);

  void deleteMenu(Menu menu);
}
